﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masterchitiet.master" AutoEventWireup="true" CodeFile="thanhtoan.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">

    .style5
    {
        width: 185px;
    }
         
        .style5
        {
            height: 18px;
            width: 39px;
        }
         .style5
        {
            width: 101%;
            height: 636px;
            margin-right: 23px;
        }
        .style13
        {
            font-size: large;
            color: #00CC00;
            height: 66px;
            width: 159px;
            text-align: center;
        }
        .style14
        {
            text-align: center;
        }
        .newStyle4
        {
            font-size: 14px;
        }
        .style7
        {
            color: #6600CC;
            width: 161px;
        }
        .style12
        {
            width: 256px;
        }
        .style8
        {
            color: #6600FF;
            width: 161px;
        }
        .style9
        {
            color: #000000;
            text-align: center;
            background-color: #3399FF;
        }
        .style11
        {
            text-align: center;
            font-size: 14px;
            color: #FFFF00;
        }
        .style15
        {
            width: 161px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="style5" style="width: 550px" valign="top">
        <tr>
            <td class="style13" colspan="2" align="center">
                TH&Ocirc;NG TIN &#272;&#416;N &#272;&#7862;T H&Agrave;NG</td>
        </tr>
        <tr>
            <td bgcolor="#FFFF66" class="style14" colspan="2">
                <span class="newStyle4">TH&Ocirc;NG TIN T&Agrave;I KHO&#7842;N</span></td>
        </tr>
        <tr>
            <td class="style7" style="text-align: right">
                H&#7885; T&ecirc;n</td>
            <td class="style12" style="text-align: left">
                <asp:Label ID="lbHoTen" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style8" style="text-align: right">
                &#272;&#7883;a Ch&#7881;</td>
            <td class="style12" style="text-align: left">
                <asp:Label ID="lbDiaChi" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style8" style="text-align: right">
                &#272;i&#7879;n Tho&#7841;i</td>
            <td class="style12" style="text-align: left">
                <asp:Label ID="lbDienThoai" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style8" style="text-align: right">
                Email</td>
            <td class="style12" style="text-align: left">
                <asp:Label ID="lbEmail" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td bgcolor="#CC0099" class="style9" colspan="2">
                TH&Ocirc;NG TIN GI&#7886; H&Agrave;NG</td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:GridView ID="GVthanhtoan" runat="server" AutoGenerateColumns="False" 
                    BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" 
                    CellPadding="3" CellSpacing="2" DataKeyNames="masp" Width="550px">
                    <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
                    <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
                    <Columns>
                        <asp:BoundField DataField="masp" HeaderText="M&atilde; S&#7843;n Ph&#7849;m" InsertVisible="False" 
                            ReadOnly="True" SortExpression="masp" />
                        <asp:BoundField DataField="tensp" HeaderText="T&ecirc;n S&#7843;n Ph&#7849;m" 
                            SortExpression="tensp" />
                        <asp:BoundField DataField="dongia" HeaderText="&#272;&#417;n gi&aacute;" 
                            SortExpression="dongia" />
                        <asp:BoundField DataField="soluong" HeaderText="S&#7889; l&#432;&#7907;ng" 
                            SortExpression="soluong" />
                        <asp:BoundField DataField="thanhtien" HeaderText="Th&agrave;nh ti&#7873;n" ReadOnly="True" 
                            SortExpression="thanhtien" />
                    </Columns>
                    <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                T&#7893;ng Ti&#7873;n:<asp:Label ID="lbTongtien" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td bgcolor="#3366FF" class="style11" colspan="2">
                TH&Ocirc;NG TIN GIAO H&Agrave;NG</td>
        </tr>
        <tr>
            <td class="style15" style="text-align: right">
                Ng&agrave;y Giao</td>
            <td class="style12" style="text-align: left">
                <asp:Calendar ID="CalNgaygiao" runat="server" BackColor="#FFFFCC" 
                    BorderColor="#FFCC66" BorderWidth="1px" DayNameFormat="Shortest" 
                    Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399" Height="200px" 
                    ShowGridLines="True" Width="220px">
                    <SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
                    <SelectorStyle BackColor="#FFCC66" />
                    <TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
                    <OtherMonthDayStyle ForeColor="#CC9966" />
                    <NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
                    <DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" />
                    <TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt" 
                        ForeColor="#FFFFCC" />
                </asp:Calendar>
            </td>
        </tr>
        <tr>
            <td class="style15" style="text-align: right">
                Ng&#432;&#7901;i Nh&#7853;n</td>
            <td class="style12" style="text-align: left">
                <asp:TextBox ID="txtNguoinhan" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtNguoinhan" ErrorMessage="B&#7841;n Ch&#432;a Nh&#7853;p H&#7885; T&ecirc;n">(*)</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style15" style="text-align: right">
                &#272;&#7883;a Ch&#7881;</td>
            <td class="style12" style="text-align: left">
                <asp:TextBox ID="txtDiachinhan" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtDiachinhan" ErrorMessage="B&#7841;n Ch&#432;a Nh&#7853;p &#272;&#7883;a Ch&#7881;">(*)</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style15" style="text-align: right">
                &#272;i&#7879;n Tho&#7841;i</td>
            <td class="style12" style="text-align: left">
                <asp:TextBox ID="txtDienthoainhan" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txtDienthoainhan" ErrorMessage="(*)">(*)</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="txtDienthoainhan" ErrorMessage="S&#7889; &#272;i&#7879;n Th&#7885;ai Kh&ocirc;ng &#272;&uacute;ng" 
                    ValidationExpression="[0-9]{10,15}">(*)</asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="style15" style="text-align: right">
                H&igrave;nh Th&#7913;c Thanh To&aacute;n</td>
            <td class="style12" style="text-align: left">
                <asp:RadioButton ID="rdThanhtoantruoc" runat="server" 
                    Checked="True" GroupName="thanhtoan" 
                    Text="Thanh to&aacute;n tr&#432;&#7899;c khi giao h&agrave;ng" />
                <br />
                <asp:RadioButton ID="rdThanhtoansau" runat="server" 
                    GroupName="thanhtoan" Text="Thanh to&aacute;n sau khi giao h&agrave;ng" />
            </td>
        </tr>
        <tr>
            <td class="style15" style="text-align: right">
                H&igrave;nh Th&#7913;c Giao<br />
                H&agrave;ng
            </td>
            <td class="style12" style="text-align: left">
                <asp:RadioButton ID="rdGiaotructiep" runat="server" 
                    Checked="True" GroupName="giaohang" Text="Giao tr&#7921;c ti&#7871;p" />
                <br />
                <asp:RadioButton ID="rdChuyengiao" runat="server" 
                    GroupName="giaohang" Text="Chuy&#7875;n giao" />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Label ID="lbBaoloi" runat="server" style="color: #FF0000"></asp:Label>
                <br />
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                    ValidationGroup="thanhtoan" />
            </td>
        </tr>
        <tr>
            <td class="style15" style="text-align: right">
                &nbsp;</td>
            <td class="style12" style="text-align: left">
                <asp:Button ID="btDongy" runat="server" onclick="btDongy_Click" 
                    style="height: 26px" Text="&#272;&#7891;ng &Yacute;" />
            </td>
        </tr>
    </table>
</asp:Content>

